import React from 'react';
import {connect} from 'react-redux';
class Preview extends React.Component {
	render() {
		return (
		   <div style={{position:"relative",backgroundColor:"#FFFFFF",paddingTop:"10px",fontSize:"16px"}}>  
			  <img src='https://img.alicdn.com/imgextra/i4/27390555/TB2MukTgEdnpuFjSZPhXXbChpXa-27390555.gif' />
		   </div>
		);
	}
}
Preview.defaultProps = {
};
function mapStateToProps(state){
  return {
    dataSource:state.todoMVCReducer
  }
};
export default connect(mapStateToProps)(Preview);

//https://segmentfault.com/q/1010000008860005  提问